package com.xpxrule.dataobject.dao;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("constant_item")
public class ConstantItem {
    public static final class COLUMN {
        public static final String ID = "id";
        public static final String CONSTANT_KEY = "constant_key";
        public static final String ITEM_KEY = "item_key";
        public static final String ITEM_NAME = "item_name";
        public static final String DESCRIPTION = "description";
        public static final String IS_DELETED = "is_deleted";
    }
    /**
     * 主键id
     */
    @TableField("id")
    private Long id;
    /**
     * 常量key
     */
    @TableField("constant_key")
    private String constantKey;
    /**
     * 明细项key
     */
    @TableField("item_key")
    private String itemKey;
    /**
     * 明细项名称
     */
    @TableField("item_name")
    private String itemName;
    /**
     * 描述
     */
    @TableField("description")
    private String description;
    /**
     * 是否删除
     */
    @TableField("is_deleted")
    private Date isDeleted;
    /**
     * 创建人
     */
    @TableField("create_user")
    private String createUser;
    /**
     * 创建时间
     */
    @TableField("create_time")
    private Date createTime;
    /**
     * 更新人
     */
    @TableField("update_user")
    private String updateUser;
    /**
     * 更新时间
     */
    @TableField("update_time")
    private Date updateTime;
}
